// main.ts
import { createApp } from "vue";

// 引入
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

import router from "./router";
import App from "./App.vue";

import "./style/ui.css";

import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import DataVVue3 from "@kjgl77/datav-vue3";

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
import { createPinia } from "pinia";
const pinia = createPinia();
app.use(pinia);
app.use(DataVVue3);
app.use(router);
app.use(ElementPlus);
app.mount("#app");
